package com.cn.web.user.vo.company;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cn.common.IDGenerate;
import com.cn.dic.annoations.DicAnnoations;
import com.cn.dic.serialize.DicSerialize;
import com.cn.empty.EmptyCheck;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description: UserCompanyHelpDO <br>
 * date: 23.7.26 8:58 <br>
 * author: cn_yaojin <br>
 * version: 1.0 <br>
 */
@Setter
@Getter
@Accessors(chain = true)
@ApiModel(value = "常见问题实体信息表")
@TableName(value = "sys_user_company_help")
public class UserCompanyHelpDO extends IDGenerate {

    @EmptyCheck(message = "标题不能为空", max = 100)
    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "常见问题类型")
    private String helpType;

    @JsonSerialize(using = DicSerialize.class)
    @DicAnnoations(dicType = "answerType")
    @TableField(exist = false)
    @ApiModelProperty(value = "常见问题类型")
    private String helpTypeTxt;

    @ApiModelProperty(value = "音频")
    private String audio;

    @ApiModelProperty(value = "视频")
    private String video;

    @EmptyCheck(message = "内容不能为空")
    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "0-保存 1-发布 100-删除")
    private Integer pubStatus;

    @ApiModelProperty(value = "0-正常 1-停用")
    private Integer status;

    @ApiModelProperty(value = "添加人ID")
    private String addId;

    @ApiModelProperty(value = "添加人名称")
    private String addName;

    @ApiModelProperty(value = "添加时间")
    private String addTime;

    @ApiModelProperty(value = "阅读量")
    private Integer readNum;

}
